package com.jdrx.ocp.beans.vo.excel;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @ClassName: DocumentPO
 * @Description: 服务商可访问接口DTO
 * @author liudebing
 * @date 2017年10月19日 上午10:32:35
 *
 */
public class ExcelApiVO implements Serializable {
	/**
	 * id
	 */
	private String id;

	/**
	 * 模块名称
	 */
	private String modelName;

	/** 协议 */
	private String protocol;

	/**
	 * api请求URi
	 */
	private String apiUri;

	/** header头 json格式 */
	private String header;
	/**
	 * API接口名称
	 */
	private String apiName;
	/**
	 * 描述
	 */
	private String apiDescription;
	/**
	 * 启用状态 0：停用，1：启用,2：已删除
	 */
	private Integer status;

	/**
	 * 接口类型 0：内部API，1：开放API
	 */
	private Integer apiType;
	
	/** api参数 约定 json格式 */
	private String apiParameters;
	
	/** 输出参数 约定 json格式 */
	private String outParameters;
	/** 备注 */
	private String remarks;

	/** 相应包示例(返回数据)  暂无该数据来源*/
	private String resultData;
	/** 请求包示例(返回数据)   暂无该数据来源*/
	private String resquestData;
	/** 服务ID */
	private Long serviceId;
	/** 接口ID */
	private Long apiId;
	/** 能访问接口的服务IDs */
	private String serviceAuthIds;
	
	/** 版本号 */
	private String version;
	
	/** 创建时间 */
	private Date createTime;
	/** 导出时用到的一个标识 **/
	private Boolean flag;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getModelName() {
		return modelName;
	}

	public void setModelName(String modelName) {
		this.modelName = modelName;
	}

	public String getProtocol() {
		return protocol;
	}

	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}

	public String getApiUri() {
		return apiUri;
	}

	public void setApiUri(String apiUri) {
		this.apiUri = apiUri;
	}

	public String getHeader() {
		return header;
	}

	public void setHeader(String header) {
		this.header = header;
	}

	public String getApiName() {
		return apiName;
	}

	public void setApiName(String apiName) {
		this.apiName = apiName;
	}

	public String getApiDescription() {
		return apiDescription;
	}

	public void setApiDescription(String apiDescription) {
		this.apiDescription = apiDescription;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getApiParameters() {
		return apiParameters;
	}

	public void setApiParameters(String apiParameters) {
		this.apiParameters = apiParameters;
	}

	public String getOutParameters() {
		return outParameters;
	}

	public void setOutParameters(String outParameters) {
		this.outParameters = outParameters;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getResultData() {
		return resultData;
	}

	public void setResultData(String resultData) {
		this.resultData = resultData;
	}

	public Long getServiceId() {
		return serviceId;
	}

	public void setServiceId(Long serviceId) {
		this.serviceId = serviceId;
	}

	public String getServiceAuthIds() {
		return serviceAuthIds;
	}

	public void setServiceAuthIds(String serviceAuthIds) {
		this.serviceAuthIds = serviceAuthIds;
	}

	public Boolean getFlag() {
		return flag;
	}

	public void setFlag(Boolean flag) {
		this.flag = flag;
	}

	public Long getApiId() {
		return apiId;
	}

	public void setApiId(Long apiId) {
		this.apiId = apiId;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getApiType() {
		return apiType;
	}

	public void setApiType(Integer apiType) {
		this.apiType = apiType;
	}

	public String getResquestData() {
		return resquestData;
	}

	public void setResquestData(String resquestData) {
		this.resquestData = resquestData;
	}

	@Override
	public String toString() {
		return "DocumentPO [id=" + id + ", modelName=" + modelName + ", protocol=" + protocol + ", apiUri=" + apiUri
				+ ", header=" + header + ", apiName=" + apiName + ", apiDescription=" + apiDescription + ", status="
				+ status + ", apiType=" + apiType + ", apiParameters=" + apiParameters + ", outParameters="
				+ outParameters + ", remarks=" + remarks + ", resultData=" + resultData + ", resquestData="
				+ resquestData + ", serviceId=" + serviceId + ", apiId=" + apiId + ", serviceAuthIds=" + serviceAuthIds
				+ ", version=" + version + ", createTime=" + createTime + ", flag=" + flag + "]";
	}

}